<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>百度一下,你就知道</title>
</head>
<body>
<script type="text/javascript">
    function run() {
        var kd = f01.keyword.value;
        alert(f01.keyword.value);
        window.open('https://www.baidu.com/s?wd=' + kd)
    }
</script>
<center>
    <div>
        <img src="https://www.baidu.com/img/bd_logo1.png"/>
    </div>
    <p>&nbsp
    <p>&nbsp

    <div>
        <form name="f01">
            <input type="text" name="keyword"/>
            <input type="submit" value='百度一下' onclick="run()"/>
        </form>
    </div>
    <p>&nbsp
    <p>&nbsp
    <p>&nbsp
    <p>&nbsp
    <p>&nbsp

    <div>
        Develop by zj@ahstu.edu.cn
    </div>
</center>
</body>

</html>